﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.ProcessManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.ProcessManagement.ProcessRouteVMs
{
    public partial class ProcessRouteBatchVM : BaseBatchVM<ProcessRoute, ProcessRoute_BatchEdit>
    {
        public ProcessRouteBatchVM()
        {
            ListVM = new ProcessRouteListVM();
            LinkedVM = new ProcessRoute_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class ProcessRoute_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._ProcessRoute._RoutingName")]
        public string RoutingName { get; set; }
        [Display(Name = "_Model._ProcessRoute._RoutingCode")]
        public string RoutingCode { get; set; }
        [Display(Name = "_Model._ProcessRoute._ProductId")]
        public long? ProductId { get; set; }
        [Display(Name = "_Model._ProcessRoute._ProductCode")]
        public string ProductCode { get; set; }
        [Display(Name = "_Model._ProcessRoute._ProductName")]
        public string ProductName { get; set; }
        [Display(Name = "_Model._ProcessRoute._Active")]
        public bool? Active { get; set; }
        [Display(Name = "_Model._ProcessRoute._Aux_1")]
        public string Aux_1 { get; set; }
        [Display(Name = "_Model._ProcessRoute._Aux_2")]
        public string Aux_2 { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}